﻿using Newtonsoft.Json;
using ZilLion.Service.Core.Domain.EntityBase;

namespace ZilLion.Service.WeChatMall.Domain.Responses
{
    public class MapSerchResponse : ResponseBase
    {
        [JsonProperty("status")]
        public string Status { get; set; }

        [JsonProperty("count")]
        public string Count { get; set; }

        [JsonProperty("info")]
        public string Info { get; set; }

        [JsonProperty("infocode")]
        public string Infocode { get; set; }

        [JsonProperty("tips")]
        public Tip[] Tips { get; set; }
    }

    public class Tip
    {
        [JsonProperty("id")]
        public object Id { get; set; }

        [JsonProperty("name")]
        public string Name { get; set; }

        [JsonProperty("district")]
        public string District { get; set; }

        [JsonProperty("adcode")]
        public string Adcode { get; set; }

        [JsonProperty("location")]
        public object Location { get; set; }

        [JsonProperty("address")]
        public object Address { get; set; }

        [JsonProperty("typecode")]
        public string Typecode { get; set; }
    }
}